﻿using ZeroSum.DependencyInjection;
using ZeroSum.Plugin.Authorization.Datas.Services.Users;
using ZeroSumZSA.Core.Aggregates.UserAggregate;

namespace ZeroSumZSA.Core.DomainServices.Users;

public interface IUserDomainService : IUserBaseDomainService<User>, IScopeDependency
{
    Task<IList<User>> Query(string? keyword, int page, int size);
    Task<IList<long>> GetRoleIdsByUserId(long userId);
    Task<int> Count(string? keyword);
}